package br.unesp.ibb.lbbc.util;

public class MathTools {

	
	public static double[][] transpose(double[][] matrix){
		
		double[][] novamatriz = new double[matrix[0].length][matrix.length];
		for (int i = 0; i < matrix.length; i++) {
			for (int j = 0; j < matrix[0].length; j++) {
				novamatriz[j][i]=matrix[i][j];
			}
		}
		return novamatriz;
		
	}
	
	

	
}
